<template>
  <view>
    <u-navbar
      backIconColor="#333333"
      title-size="36"
      title="订单详情"
      height="50"
      :is-back="true"
      :border-bottom="false"
      title-color="#333333"
    >
    </u-navbar>
    <view class="card">
      <view class="status">已完成</view>
      <view class="addr">贵州省贵阳市南明区花果园大街贵州省贵阳市南明区花果园大街</view>
      <view class="user">赵先生 13340137033</view>
      <u-line></u-line>
      <view class="contact dis-flex flex-y-center">
        <u-icon style="margin-right: 18rpx" name="/static/alliance/lxsj.png" size="40"></u-icon>
        <text>联系商家</text>
      </view>
    </view>
    <view class="card">
      <view class="goods dis-flex">
        <u-image src="" width="160rpx" height="160rpx" border-radius="8"></u-image>
        <view class="info">
          <view class="name oneline-hide-1">商品名称商品名称商品</view>
          <view class="num dis-flex flex-y-between flex-y-center">
            <view>x1</view>
          </view>
        </view>
      </view>
      <u-line></u-line>
      <view class="price dis-flex flex-y-between flex-y-center">
        <view class="label">商品总价</view>
        <view class="value bold">¥70.00</view>
      </view>
      <u-line></u-line>
      <view class="price dis-flex flex-y-between flex-y-center">
        <view class="label">运费</view>
        <view class="value">包邮</view>
      </view>
      <u-line></u-line>
      <view class="count">
        合计：
        <text class="max bold">¥70.00</text>
      </view>
    </view>
    <view class="card">
      <view class="info-tl">订单信息</view>
      <view class="info-item"> 交易单号：2023103100001 </view>
      <view class="info-item"> 创建时间：2024-10-31 17:50:46 </view>
      <view class="info-item"> 支付时间：2024-10-31 17:51:46 </view>
    </view>

    <view class="fixed-wapper dis-flex flex-y-center">
      <view class="bt-group dis-flex flex-y-center">
        <view class="bt">查看物流</view>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {}
  },
  methods: {}
}
</script>

<style scoped lang="scss">
@import url('@/style/btn.css');

.card {
  background: #ffffff;
  border-radius: 10rpx;
  margin: 20rpx 20rpx 0 20rpx;
  padding: 30rpx 20rpx;
}

.status {
  font-size: 42rpx;
  margin-bottom: 10rpx;
}

.addr,
.user {
  font-size: 28rpx;
  color: #333333;
  line-height: 48rpx;
}

.user {
  margin-bottom: 20rpx;
}

.contact {
  font-size: 28rpx;
  margin-top: 30rpx;
}

.info {
  margin-left: 20rpx;
  font-size: 26rpx;
  height: 160rpx;
  display: flex;
  justify-content: space-between;
  flex-flow: column;
  margin-bottom: 30rpx;

  .name {
    color: #333333;
  }

  .num {
    color: #999999;
  }
}

.price {
  padding: 30rpx 0;
  font-size: 30rpx;

  .value {
    font-size: 28rpx;
  }
}

.bold {
  font-weight: bold;
}

.count {
  margin-top: 35rpx;
  text-align: right;
  font-size: 26rpx;
}

.max {
  color: #fa453c;
  font-size: 32rpx;
}

.info-tl {
  font-size: 30rpx;
  margin-bottom: 20rpx;
}

.info-item {
  font-size: 28rpx;
  color: #333333;
  line-height: 48rpx;
}

.fixed-wapper {
  width: 750rpx;
  // height: 96rpx;
  background: #ffffff;
  box-shadow: 0rpx -3rpx 10rpx 0rpx rgba(153, 153, 153, 0.1);
  left: 0;

  .bt-group {
    justify-content: flex-end;
    width: 100%;
    padding: 20rpx;

    .bt {
      width: 150rpx;
      height: 60rpx;
      border-radius: 30rpx;
      border: 1px solid #e6e6e6;
      line-height: 60rpx;
      text-align: center;
    }
  }
}
</style>
